#pragma once
class CUIClip
{
public:
    CUIClip( HDC hDC );
    virtual ~CUIClip( void );

    void AddRect( const RECT& rcClip, int iRgnMode = RGN_AND );
private:
    HDC m_hDC;
    HRGN m_hRgn;
    HRGN m_hOldRgn;
};

